import request from '/@/utils/request'

/**
 * 分页查询配置
 * @param data 
 * @returns 
 */
export const configPage = (data: any) =>{
  return request.post('/sys/config/page',data)
}
/**
 * 配置详情
 * @param data 
 * @returns 
 */
export const configDetail = (data: any) =>{
  return request.post('/sys/config/detail',data)
}
/**
 * 添加配置
 * @param data 
 * @returns 
 */
export const configSave = (data: any) =>{
  return request.post('/sys/config/save',data)
}
/**
 * 修改配置
 * @param data 
 * @returns 
 */
export const configUpdate = (data: any) =>{
  return request.post('/sys/config/update',data)
}